import math
data = [1,3,4,5,2,13,23,71,11,19,9,24,38]
print("原始数据:",data)
data0 = [round((x - min(data)) / (max(data) - min(data)), 2) for x in  data]
average = float(sum(data)) / len(data)
total = 0
for value in data:
    total += (value - average) ** 2
stddev = math.sqrt(total / len(data))
